#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
package ${package}.basic.module.operate.service;

import ${package}.common.bean.po.Operate;
import ${package}.common.bean.vo.QueryBean;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * Description: 无法补充
 *
 * @author zhang wen yi
 * @date 2019/8/6 15:28
 *
 * <pre>
 *              ${copyright}
 *      Copyright (c) 2019. All Rights Reserved.
 * </pre>
 */
public interface OperateService {

    /**
     * Description:
     * <获取操作管理分页列表>
     * @author pig
     * @date 9:36 2019/8/7
     * @param queryBean 1
     * @return com.github.pagehelper.PageInfo<Operate>
     **/
    PageInfo<Operate> queryOperteByLimit(QueryBean queryBean);

    /**
     * Description:
     * <根据主键查询操作信息>
     * @author pig
     * @date 9:36 2019/8/7
     * @param id 1
     * @return Operate
     **/
    Operate queryOperareByKey(Long id);

    /**
     * Description:
     * <新增操作管理信息>
     * @author pig
     * @date 9:36 2019/8/7
     * @param operate 1
     **/
    void addOperate(Operate operate);

    /**
     * Description:
     * <根据主键更新操作管理信息>
     * @author pig
     * @date 9:55 2019/8/7
     * @param operate 1
     **/
    void updateOperateByKey(Operate operate);

    /**
     * Description:
     * <根据主键删除操作管理信息>
     * @author pig
     * @date 9:58 2019/8/7
     * @param id 1
     **/
    void deleteOperateByKey(Long id);

    /**
     * Description:
     * <批量删除操作管理>
     * @author pig
     * @date 9:58 2019/8/7
     * @param keys 1
     * @return java.util.List<Operate>
     **/
    List<Operate> removeOperatesBykeys(List<Long> keys);

    /**
     * Description:
     * <禁用/启用>
     * @author pig
     * @date 9:58 2019/8/7
     * @param operate 1
     **/
    void disableOrEnableOperate(Operate operate);

    /**
     * Description:
     * <查询编码是否重复>
     * @author pig
     * @date 9:59 2019/8/7
     * @param code 1
     * @param id 2
     * @return java.lang.Boolean
     **/
    Boolean operateVerifyCode(String code, Long id);
}
